import request from "@/utils/request"

import { firstCategoryListModel } from "./model/headerNavModel"

// 定义请求地址的枚举
enum Api {
    getFirstCategoeyList = "/m-revision/page/index/queryIndexTabModule"
}

//1、请求一级分类列表 
export const getFirstCategoeyListApi = () => {
    return request.get<any, firstCategoryListModel>(Api.getFirstCategoeyList)
}

